#include "EpollServer.hpp"
#include <memory>

using namespace std;
using namespace ns_epoll;

void change(std::string request)
{
    // 业务逻辑
    std::cout << "change" << request << std::endl;
}

int main()
{
    unique_ptr<EpollServer> epoll_svr(new EpollServer(change));
    epoll_svr->Start();

    return 0;
}